import Layout from '@/layouts/index.vue'

export default [
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/login/index.vue'),
  },
  {
    path: '/',
    component: Layout,
    children: [
      {
        path: '',
        name: 'home',
        component: () => import('@/views/home/index.vue'),
      },
      {
        path: 'completed',
        name: 'completed',
        component: () => import('@/views/completed/index.vue'),
      },
      {
        path: 'recycle',
        name: 'recycle',
        component: () => import('@/views/recycle/index.vue'),
      },
      {
        path: 'settings',
        name: 'settings',
        component: () => import('@/views/settings/index.vue'),
      },
    ],
  },
]
